﻿using Husb.DataUtil;
using System.Data;
namespace CentralOffice.Enterprise.Data {


    public partial class NoticeReceiverDataSet
    {
        partial class NoticeReceiverDataTable
        {
        }
    
        public partial class NoticeReceiverRow
        {
            public string FilterExpression
            {
                get
                {
                    string where = "";

                    where += DataAccessUtil.GetPartWhereCondition("Id", this);
                    where += DataAccessUtil.GetPartWhereCondition("NoticeId", this, DbType.Guid);
                    where += DataAccessUtil.GetPartWhereCondition("EnterpriseId", this, DbType.Guid);
                    where += DataAccessUtil.GetPartWhereCondition("NoticeTitle", this);
                    where += DataAccessUtil.GetPartWhereCondition("Significant", this, true, true);
                    where += DataAccessUtil.GetPartWhereCondition("PublishDate", "PublishDateEnd", this);
                    //where += DataAccessUtil.GetPartWhereCondition("Telephone2", this.Telephone2, true);
                    //where += DataAccessUtil.GetPartWhereCondition("WebSite", this.WebSite);
                    
                    //where += DataAccessUtil.GetPartWhereCondition("IsDeleted", this.IsDeleted);
                    //where += DataAccessUtil.GetPartWhereCondition("IsActive", this.IsActive);
                    //where += DataAccessUtil.GetPartWhereCondition("CreatedTime", this.CreatedTime);
                    //where += DataAccessUtil.GetPartWhereCondition("CreatedBy", this.CreatedBy);
                    //where += DataAccessUtil.GetPartWhereCondition("ModifiedTime", this.ModifiedTime);
                    //where += DataAccessUtil.GetPartWhereCondition("LastModifiedBy", this.LastModifiedBy);
                    //where += DataAccessUtil.GetPartWhereCondition("Version", this.Version);
                    //where += DataAccessUtil.GetPartWhereCondition("Description", this.Description);

                    return where;
                }
            }
        }
    }
}
